<template>
    <div class="Stit">
        <header>
        <van-search
        v-model="value"
        placeholder="搜索您想要的东东"
        show-action
        shape="round"
        @search="onSearch"
        left-icon='arrow-left'
        >
        <div slot="action" @click="onSearch" class="Sss">搜索</div>
        </van-search>
        </header>
        <section>
            <div>
            <div class="SSnavleft">
                <ul class="UL1">
                    <li>品牌</li>
                    <li @click='Stap1()'>品牌推荐</li>
                    <li @click="Stap()">名包</li>
                    <li @click='Stap3()'>名表</li>
                    <li @click="Stap2()">饰品</li>
                    <li>名鞋</li>
                    <li>其他</li>
                </ul>
            </div>

            <div class="SSnavright">
                
                    <van-index-anchor index="A" />
                    <van-cell title="LOGO  A.Lannge Sohne/朗格..." />
                    <van-cell title="LOGO  A.Lannge& Sohne/爱彼..." />
                    <van-cell title="LOGO  A.Lannge& Sohne/亚利..." />

                    <van-index-anchor index="B" />
                    <van-cell title="LOGO  B.Lannge& Sohne/宝狮龙..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/名士..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/宝玑..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/宝诗龙..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/名士..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/宝玑..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/名士..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/宝狮龙..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/名士..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/朗格..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/宝玑..." />
                    <van-cell title="LOGO  B.Lannge& Sohne/宝狮龙..." />

                    <van-index-anchor index="C" />
                    <van-cell title="LOGO  C.Lannge& Sohne/朗格..." />
                    <van-cell title="LOGO  C.Lannge& Sohne/朗格..." />
                    <van-cell title="LOGO  C.Lannge& Sohne/朗格..." />
                    <van-cell title="LOGO  C.Lannge& Sohne/朗格..." />
                    <van-cell title="LOGO  C.Lannge& Sohne/朗格..." />
                    <van-cell title="LOGO  C.Lannge& Sohne/朗格..." />
                    <van-cell title="LOGO  C.Lannge& Sohne/朗格..." />

            </div>

        </div>
        </section>
        <footer>
            <ul>
                <li>首页</li>
                <li>分类</li>
                <li>发布</li>
                <li>购物车</li>
                <li>我的</li>
            </ul>
        </footer>
    </div>
</template>

<script>
export default {
    data(){
        return{
            value:'',
             active: 0  
        }
    },
    methods: {
        onClickLeft() {
            
        
        },
        onSearch(){

        },
        
        Stap(){
            this.$router.push('/Smb')
        },
        Stap1(){
            this.$router.push('/Shome')
        },
        Stap2(){
            this.$router.push('/Ssp')
        },
        Stap3(){
            this.$router.push('/Sbiao')
        },
        Stop(){
            this.$router.push('/Scomd')
        }
    }
}
</script>

<style scoped>
.van-field__left-icon .van-icon{
    margin-top:-0.11rem
}
.van-search__content--round{
    height: 0.6rem;
    margin-top: 0.4rem;
}
.van-field__control{
    font-size: 0.2rem;
    margin-top: -0.1rem
}
.Sss{
    margin-top: 0.38rem;
    margin-right: 0.45rem;
}
.van-icon-search:before{
    display: none
}
.van-search--show-action{
    height: 0.4rem;
}
.van-icon-arrow-left:before{
    margin-top: -0.13rem;
}
.Stit{
    display: flex;
    height: 100vh;
    flex-direction: column;
}
header,footer{
    height:0.8rem; 
}
section{
    flex:1;
    overflow:auto;
}

section .SSnavleft .UL1 li{
    width: 1.9rem;
    height: 1.45rem;
    border: 0.01rem solid #ccc;
    text-align: center;
    line-height: 1.5rem;
    font-size: 0.25rem
}
section .SSnavleft{
    float: left;
}

section  .SSnavright{
    width: 5rem;
    float:right;
    font-size: 0.5rem;
}

footer li{
    width: 1rem;
    height: 0.68rem;
    float: left;
    margin-top:0.1rem ;
    margin-left: 0.34rem;
    border: 0.01rem  solid #ccc;
    line-height: 0.6rem;
    text-align: center;
    font-size: 0.26rem
}
footer li:hover{
    border-radius: 0.6rem;
}

</style>


